home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / webbrowserpersist / nsIWebBrowserPersist.h < prev   
C/C++ Source or Header  |  2006-05-08  |  19KB  |  443 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIWebBrowserPersist.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIWebBrowserPersist_h__
  6. #define __gen_nsIWebBrowserPersist_h__
  7.  
  8.  
  9. #ifndef __gen_nsICancelable_h__
  10. #include "nsICancelable.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17. class nsIURI; /* forward declaration */
  18.  
  19. class nsIInputStream; /* forward declaration */
  20.  
  21. class nsIDOMDocument; /* forward declaration */
  22.  
  23. class nsIWebProgressListener; /* forward declaration */
  24.  
  25. class nsILocalFile; /* forward declaration */
  26.  
  27. class nsIChannel; /* forward declaration */
  28.  
  29.  
  30. /* starting interface:    nsIWebBrowserPersist */
  31. #define NS_IWEBBROWSERPERSIST_IID_STR "dd4e0a6a-210f-419a-ad85-40e8543b9465"
  32.  
  33. #define NS_IWEBBROWSERPERSIST_IID \
  34.   {0xdd4e0a6a, 0x210f, 0x419a, \
  35.     { 0xad, 0x85, 0x40, 0xe8, 0x54, 0x3b, 0x94, 0x65 }}
  36.  
  37. /**
  38.  * Interface for persisting DOM documents and URIs to local or remote storage.
  39.  *
  40.  * @status UNDER_REVIEW
  41.  */
  42. class NS_NO_VTABLE nsIWebBrowserPersist : public nsICancelable {
  43.  public: 
  44.  
  45.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IWEBBROWSERPERSIST_IID)
  46.  
  47.   /** No special persistence behaviour. */
  48.   enum { PERSIST_FLAGS_NONE = 0U };
  49.  
  50.   /** Only use cached data (could result in failure if data is not cached). */
  51.   enum { PERSIST_FLAGS_FROM_CACHE = 1U };
  52.  
  53.   /** Bypass the cached data. */
  54.   enum { PERSIST_FLAGS_BYPASS_CACHE = 2U };
  55.  
  56.   /** Ignore any redirected data (usually adverts). */
  57.   enum { PERSIST_FLAGS_IGNORE_REDIRECTED_DATA = 4U };
  58.  
  59.   /** Ignore IFRAME content (usually adverts). */
  60.   enum { PERSIST_FLAGS_IGNORE_IFRAMES = 8U };
  61.  
  62.   /** Do not run the incoming data through a content converter e.g. to decompress it */
  63.   enum { PERSIST_FLAGS_NO_CONVERSION = 16U };
  64.  
  65.   /** Replace existing files on the disk (use with due diligence!) */
  66.   enum { PERSIST_FLAGS_REPLACE_EXISTING_FILES = 32U };
  67.  
  68.   /** Don't modify or add base tags */
  69.   enum { PERSIST_FLAGS_NO_BASE_TAG_MODIFICATIONS = 64U };
  70.  
  71.   /** Make changes to original dom rather than cloning nodes */
  72.   enum { PERSIST_FLAGS_FIXUP_ORIGINAL_DOM = 128U };
  73.  
  74.   /** Fix links relative to destination location (not origin) */
  75.   enum { PERSIST_FLAGS_FIXUP_LINKS_TO_DESTINATION = 256U };
  76.  
  77.   /** Don't make any adjustments to links */
  78.   enum { PERSIST_FLAGS_DONT_FIXUP_LINKS = 512U };
  79.  
  80.   /** Force serialization of output (one file at a time; not concurrent) */
  81.   enum { PERSIST_FLAGS_SERIALIZE_OUTPUT = 1024U };
  82.  
  83.   /** Don't make any adjustments to filenames */
  84.   enum { PERSIST_FLAGS_DONT_CHANGE_FILENAMES = 2048U };
  85.  
  86.   /** Fail on broken inline links */
  87.   enum { PERSIST_FLAGS_FAIL_ON_BROKEN_LINKS = 4096U };
  88.  
  89.   /**
  90.    * Automatically cleanup after a failed or cancelled operation, deleting all
  91.    * created files and directories. This flag does nothing for failed upload
  92.    * operations to remote servers.
  93.    */
  94.   enum { PERSIST_FLAGS_CLEANUP_ON_FAILURE = 8192U };
  95.  
  96.   /**
  97.    * Let the WebBrowserPersist decide whether the incoming data is encoded
  98.    * and whether it needs to go through a content converter e.g. to
  99.    * decompress it.
  100.    */
  101.   enum { PERSIST_FLAGS_AUTODETECT_APPLY_CONVERSION = 16384U };
  102.  
  103.   /**
  104.    * Flags governing how data is fetched and saved from the network. 
  105.    * It is best to set this value explicitly unless you are prepared
  106.    * to accept the default values.
  107.    */
  108.   /* attribute unsigned long persistFlags; */
  109.   NS_IMETHOD GetPersistFlags(PRUint32 *aPersistFlags) = 0;
  110.   NS_IMETHOD SetPersistFlags(PRUint32 aPersistFlags) = 0;
  111.  
  112.   /** Persister is ready to save data */
  113.   enum { PERSIST_STATE_READY = 1U };
  114.  
  115.   /** Persister is saving data */
  116.   enum { PERSIST_STATE_SAVING = 2U };
  117.  
  118.   /** Persister has finished saving data */
  119.   enum { PERSIST_STATE_FINISHED = 3U };
  120.  
  121.   /**
  122.    * Current state of the persister object.
  123.    */
  124.   /* readonly attribute unsigned long currentState; */
  125.   NS_IMETHOD GetCurrentState(PRUint32 *aCurrentState) = 0;
  126.  
  127.   /**
  128.    * Value indicating the success or failure of the persist
  129.    * operation.
  130.    *
  131.    * @return NS_OK Operation was successful or is still ongoing.
  132.    * @return NS_BINDING_ABORTED Operation cancelled.
  133.    * @return NS_ERROR_FAILURE Non-specific failure.
  134.    */
  135.   /* readonly attribute unsigned long result; */
  136.   NS_IMETHOD GetResult(PRUint32 *aResult) = 0;
  137.  
  138.   /**
  139.    * Callback listener for progress notifications. The object that the
  140.    * embbedder supplies may also implement nsIInterfaceRequestor and be
  141.    * prepared to return nsIAuthPrompt or other interfaces that may be required
  142.    * to download data.
  143.    *
  144.    * @see nsIAuthPrompt
  145.    * @see nsIInterfaceRequestor
  146.    */
  147.   /* attribute nsIWebProgressListener progressListener; */
  148.   NS_IMETHOD GetProgressListener(nsIWebProgressListener * *aProgressListener) = 0;
  149.   NS_IMETHOD SetProgressListener(nsIWebProgressListener * aProgressListener) = 0;
  150.  
  151.   /**
  152.    * Save the specified URI to file.
  153.    *
  154.    * @param aURI       URI to save to file. Some implementations of this interface
  155.    *                   may also support <CODE>nsnull</CODE> to imply the currently
  156.    *                   loaded URI.
  157.    * @param aCacheKey  An object representing the URI in the cache or
  158.    *                   <CODE>nsnull</CODE>.
  159.    * @param aReferrer  The referrer URI to pass with an HTTP request or
  160.    *                   <CODE>nsnull</CODE>.
  161.    * @param aPostData  Post data to pass with an HTTP request or
  162.    *                   <CODE>nsnull</CODE>.
  163.    * @param aExtraHeaders Additional headers to supply with an HTTP request
  164.    *                   or <CODE>nsnull</CODE>.
  165.    * @param aFile      Target file. This may be a nsILocalFile object or an
  166.    *                   nsIURI object with a file scheme or a scheme that
  167.    *                   supports uploading (e.g. ftp).
  168.    *
  169.    * @see nsILocalFile
  170.    * @see nsIURI
  171.    * @see nsIInputStream
  172.    *
  173.    * @return NS_OK Operation has been started.
  174.    * @return NS_ERROR_INVALID_ARG One or more arguments was invalid.
  175.    */
  176.   /* void saveURI (in nsIURI aURI, in nsISupports aCacheKey, in nsIURI aReferrer, in nsIInputStream aPostData, in string aExtraHeaders, in nsISupports aFile); */
  177.   NS_IMETHOD SaveURI(nsIURI *aURI, nsISupports *aCacheKey, nsIURI *aReferrer, nsIInputStream *aPostData, const char *aExtraHeaders, nsISupports *aFile) = 0;
  178.  
  179.   /**
  180.    * Save a channel to a file. It must not be opened yet.
  181.    * @see saveURI
  182.    */
  183.   /* void saveChannel (in nsIChannel aChannel, in nsISupports aFile); */
  184.   NS_IMETHOD SaveChannel(nsIChannel *aChannel, nsISupports *aFile) = 0;
  185.  
  186.   /** Output only the current selection as opposed to the whole document. */
  187.   enum { ENCODE_FLAGS_SELECTION_ONLY = 1U };
  188.  
  189.   /**
  190.    * For plaintext output. Convert html to plaintext that looks like the html.
  191.    * Implies wrap (except inside <pre>), since html wraps.
  192.    * HTML output: always do prettyprinting, ignoring existing formatting.
  193.    */
  194.   enum { ENCODE_FLAGS_FORMATTED = 2U };
  195.  
  196.   /**
  197.    * Output without formatting or wrapping the content. This flag
  198.    * may be used to preserve the original formatting as much as possible.
  199.    */
  200.   enum { ENCODE_FLAGS_RAW = 4U };
  201.  
  202.   /** Output only the body section, no HTML tags. */
  203.   enum { ENCODE_FLAGS_BODY_ONLY = 8U };
  204.  
  205.   /** Wrap even if when not doing formatted output (e.g. for text fields). */
  206.   enum { ENCODE_FLAGS_PREFORMATTED = 16U };
  207.  
  208.   /** Wrap documents at the specified column. */
  209.   enum { ENCODE_FLAGS_WRAP = 32U };
  210.  
  211.   /**
  212.    * For plaintext output. Output for format flowed (RFC 2646). This is used
  213.    * when converting to text for mail sending. This differs just slightly
  214.    * but in an important way from normal formatted, and that is that
  215.    * lines are space stuffed. This can't (correctly) be done later.
  216.    */
  217.   enum { ENCODE_FLAGS_FORMAT_FLOWED = 64U };
  218.  
  219.   /** Convert links to absolute links where possible. */
  220.   enum { ENCODE_FLAGS_ABSOLUTE_LINKS = 128U };
  221.  
  222.   /** 
  223.    * Attempt to encode entities standardized at W3C (HTML, MathML, etc).
  224.    * This is a catch-all flag for documents with mixed contents. Beware of
  225.    * interoperability issues. See below for other flags which might likely
  226.    * do what you want.
  227.    */
  228.   enum { ENCODE_FLAGS_ENCODE_W3C_ENTITIES = 256U };
  229.  
  230.   /**
  231.    * Output with carriage return line breaks. May also be combined with
  232.    * ENCODE_FLAGS_LF_LINEBREAKS and if neither is specified, the platform
  233.    * default format is used.
  234.    */
  235.   enum { ENCODE_FLAGS_CR_LINEBREAKS = 512U };
  236.  
  237.   /**
  238.    * Output with linefeed line breaks. May also be combined with
  239.    * ENCODE_FLAGS_CR_LINEBREAKS and if neither is specified, the platform
  240.    * default format is used.
  241.    */
  242.   enum { ENCODE_FLAGS_LF_LINEBREAKS = 1024U };
  243.  
  244.   /** For plaintext output. Output the content of noscript elements. */
  245.   enum { ENCODE_FLAGS_NOSCRIPT_CONTENT = 2048U };
  246.  
  247.   /** For plaintext output. Output the content of noframes elements. */
  248.   enum { ENCODE_FLAGS_NOFRAMES_CONTENT = 4096U };
  249.  
  250.   /**
  251.    * Encode basic entities, e.g. output   instead of character code 0xa0. 
  252.    * The basic set is just   & < > " for interoperability
  253.    * with older products that don't support α and friends.
  254.    */
  255.   enum { ENCODE_FLAGS_ENCODE_BASIC_ENTITIES = 8192U };
  256.  
  257.   /**
  258.    * Encode Latin1 entities. This includes the basic set and
  259.    * accented letters between 128 and 255.
  260.    */
  261.   enum { ENCODE_FLAGS_ENCODE_LATIN1_ENTITIES = 16384U };
  262.  
  263.   /**
  264.    * Encode HTML4 entities. This includes the basic set, accented
  265.    * letters, greek letters and certain special markup symbols.
  266.    */
  267.   enum { ENCODE_FLAGS_ENCODE_HTML_ENTITIES = 32768U };
  268.  
  269.   /**
  270.    * Save the specified DOM document to file and optionally all linked files
  271.    * (e.g. images, CSS, JS & subframes). Do not call this method until the
  272.    * document has finished loading!
  273.    *
  274.    * @param aDocument          Document to save to file. Some implementations of
  275.    *                           this interface may also support <CODE>nsnull</CODE>
  276.    *                           to imply the currently loaded document.
  277.    * @param aFile              Target local file. This may be a nsILocalFile object or an
  278.    *                           nsIURI object with a file scheme or a scheme that
  279.    *                           supports uploading (e.g. ftp).
  280.    * @param aDataPath          Path to directory where URIs linked to the document
  281.    *                           are saved or nsnull if no linked URIs should be saved.
  282.    *                           This may be a nsILocalFile object or an nsIURI object
  283.    *                           with a file scheme.
  284.    * @param aOutputContentType The desired MIME type format to save the 
  285.    *                           document and all subdocuments into or nsnull to use
  286.    *                           the default behaviour.
  287.    * @param aEncodingFlags     Flags to pass to the encoder.
  288.    * @param aWrapColumn        For text documents, indicates the desired width to
  289.    *                           wrap text at. Parameter is ignored if wrapping is not
  290.    *                           specified by the encoding flags.
  291.    *
  292.    * @see nsILocalFile
  293.    * @see nsIURI
  294.    *
  295.    * @return NS_OK Operation has been started.
  296.    * @return NS_ERROR_INVALID_ARG One or more arguments was invalid.
  297.    */
  298.   /* void saveDocument (in nsIDOMDocument aDocument, in nsISupports aFile, in nsISupports aDataPath, in string aOutputContentType, in unsigned long aEncodingFlags, in unsigned long aWrapColumn); */
  299.   NS_IMETHOD SaveDocument(nsIDOMDocument *aDocument, nsISupports *aFile, nsISupports *aDataPath, const char *aOutputContentType, PRUint32 aEncodingFlags, PRUint32 aWrapColumn) = 0;
  300.  
  301.   /**
  302.    * Cancels the current operation. The caller is responsible for cleaning up
  303.    * partially written files or directories. This has the same effect as calling
  304.    * cancel with an argument of NS_BINDING_ABORTED.
  305.    */
  306.   /* void cancelSave (); */
  307.   NS_IMETHOD CancelSave(void) = 0;
  308.  
  309. };
  310.  
  311. /* Use this macro when declaring classes that implement this interface. */
  312. #define NS_DECL_NSIWEBBROWSERPERSIST \
  313.   NS_IMETHOD GetPersistFlags(PRUint32 *aPersistFlags); \
  314.   NS_IMETHOD SetPersistFlags(PRUint32 aPersistFlags); \
  315.   NS_IMETHOD GetCurrentState(PRUint32 *aCurrentState); \
  316.   NS_IMETHOD GetResult(PRUint32 *aResult); \
  317.   NS_IMETHOD GetProgressListener(nsIWebProgressListener * *aProgressListener); \
  318.   NS_IMETHOD SetProgressListener(nsIWebProgressListener * aProgressListener); \
  319.   NS_IMETHOD SaveURI(nsIURI *aURI, nsISupports *aCacheKey, nsIURI *aReferrer, nsIInputStream *aPostData, const char *aExtraHeaders, nsISupports *aFile); \
  320.   NS_IMETHOD SaveChannel(nsIChannel *aChannel, nsISupports *aFile); \
  321.   NS_IMETHOD SaveDocument(nsIDOMDocument *aDocument, nsISupports *aFile, nsISupports *aDataPath, const char *aOutputContentType, PRUint32 aEncodingFlags, PRUint32 aWrapColumn); \
  322.   NS_IMETHOD CancelSave(void); 
  323.  
  324. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  325. #define NS_FORWARD_NSIWEBBROWSERPERSIST(_to) \
  326.   NS_IMETHOD GetPersistFlags(PRUint32 *aPersistFlags) { return _to GetPersistFlags(aPersistFlags); } \
  327.   NS_IMETHOD SetPersistFlags(PRUint32 aPersistFlags) { return _to SetPersistFlags(aPersistFlags); } \
  328.   NS_IMETHOD GetCurrentState(PRUint32 *aCurrentState) { return _to GetCurrentState(aCurrentState); } \
  329.   NS_IMETHOD GetResult(PRUint32 *aResult) { return _to GetResult(aResult); } \
  330.   NS_IMETHOD GetProgressListener(nsIWebProgressListener * *aProgressListener) { return _to GetProgressListener(aProgressListener); } \
  331.   NS_IMETHOD SetProgressListener(nsIWebProgressListener * aProgressListener) { return _to SetProgressListener(aProgressListener); } \
  332.   NS_IMETHOD SaveURI(nsIURI *aURI, nsISupports *aCacheKey, nsIURI *aReferrer, nsIInputStream *aPostData, const char *aExtraHeaders, nsISupports *aFile) { return _to SaveURI(aURI, aCacheKey, aReferrer, aPostData, aExtraHeaders, aFile); } \
  333.   NS_IMETHOD SaveChannel(nsIChannel *aChannel, nsISupports *aFile) { return _to SaveChannel(aChannel, aFile); } \
  334.   NS_IMETHOD SaveDocument(nsIDOMDocument *aDocument, nsISupports *aFile, nsISupports *aDataPath, const char *aOutputContentType, PRUint32 aEncodingFlags, PRUint32 aWrapColumn) { return _to SaveDocument(aDocument, aFile, aDataPath, aOutputContentType, aEncodingFlags, aWrapColumn); } \
  335.   NS_IMETHOD CancelSave(void) { return _to CancelSave(); } 
  336.  
  337. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  338. #define NS_FORWARD_SAFE_NSIWEBBROWSERPERSIST(_to) \
  339.   NS_IMETHOD GetPersistFlags(PRUint32 *aPersistFlags) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPersistFlags(aPersistFlags); } \
  340.   NS_IMETHOD SetPersistFlags(PRUint32 aPersistFlags) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPersistFlags(aPersistFlags); } \
  341.   NS_IMETHOD GetCurrentState(PRUint32 *aCurrentState) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCurrentState(aCurrentState); } \
  342.   NS_IMETHOD GetResult(PRUint32 *aResult) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetResult(aResult); } \
  343.   NS_IMETHOD GetProgressListener(nsIWebProgressListener * *aProgressListener) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProgressListener(aProgressListener); } \
  344.   NS_IMETHOD SetProgressListener(nsIWebProgressListener * aProgressListener) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetProgressListener(aProgressListener); } \
  345.   NS_IMETHOD SaveURI(nsIURI *aURI, nsISupports *aCacheKey, nsIURI *aReferrer, nsIInputStream *aPostData, const char *aExtraHeaders, nsISupports *aFile) { return !_to ? NS_ERROR_NULL_POINTER : _to->SaveURI(aURI, aCacheKey, aReferrer, aPostData, aExtraHeaders, aFile); } \
  346.   NS_IMETHOD SaveChannel(nsIChannel *aChannel, nsISupports *aFile) { return !_to ? NS_ERROR_NULL_POINTER : _to->SaveChannel(aChannel, aFile); } \
  347.   NS_IMETHOD SaveDocument(nsIDOMDocument *aDocument, nsISupports *aFile, nsISupports *aDataPath, const char *aOutputContentType, PRUint32 aEncodingFlags, PRUint32 aWrapColumn) { return !_to ? NS_ERROR_NULL_POINTER : _to->SaveDocument(aDocument, aFile, aDataPath, aOutputContentType, aEncodingFlags, aWrapColumn); } \
  348.   NS_IMETHOD CancelSave(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->CancelSave(); } 
  349.  
  350. #if 0
  351. /* Use the code below as a template for the implementation class for this interface. */
  352.  
  353. /* Header file */
  354. class nsWebBrowserPersist : public nsIWebBrowserPersist
  355. {
  356. public:
  357.   NS_DECL_ISUPPORTS
  358.   NS_DECL_NSIWEBBROWSERPERSIST
  359.  
  360.   nsWebBrowserPersist();
  361.  
  362. private:
  363.   ~nsWebBrowserPersist();
  364.  
  365. protected:
  366.   /* additional members */
  367. };
  368.  
  369. /* Implementation file */
  370. NS_IMPL_ISUPPORTS1(nsWebBrowserPersist, nsIWebBrowserPersist)
  371.  
  372. nsWebBrowserPersist::nsWebBrowserPersist()
  373. {
  374.   /* member initializers and constructor code */
  375. }
  376.  
  377. nsWebBrowserPersist::~nsWebBrowserPersist()
  378. {
  379.   /* destructor code */
  380. }
  381.  
  382. /* attribute unsigned long persistFlags; */
  383. NS_IMETHODIMP nsWebBrowserPersist::GetPersistFlags(PRUint32 *aPersistFlags)
  384. {
  385.     return NS_ERROR_NOT_IMPLEMENTED;
  386. }
  387. NS_IMETHODIMP nsWebBrowserPersist::SetPersistFlags(PRUint32 aPersistFlags)
  388. {
  389.     return NS_ERROR_NOT_IMPLEMENTED;
  390. }
  391.  
  392. /* readonly attribute unsigned long currentState; */
  393. NS_IMETHODIMP nsWebBrowserPersist::GetCurrentState(PRUint32 *aCurrentState)
  394. {
  395.     return NS_ERROR_NOT_IMPLEMENTED;
  396. }
  397.  
  398. /* readonly attribute unsigned long result; */
  399. NS_IMETHODIMP nsWebBrowserPersist::GetResult(PRUint32 *aResult)
  400. {
  401.     return NS_ERROR_NOT_IMPLEMENTED;
  402. }
  403.  
  404. /* attribute nsIWebProgressListener progressListener; */
  405. NS_IMETHODIMP nsWebBrowserPersist::GetProgressListener(nsIWebProgressListener * *aProgressListener)
  406. {
  407.     return NS_ERROR_NOT_IMPLEMENTED;
  408. }
  409. NS_IMETHODIMP nsWebBrowserPersist::SetProgressListener(nsIWebProgressListener * aProgressListener)
  410. {
  411.     return NS_ERROR_NOT_IMPLEMENTED;
  412. }
  413.  
  414. /* void saveURI (in nsIURI aURI, in nsISupports aCacheKey, in nsIURI aReferrer, in nsIInputStream aPostData, in string aExtraHeaders, in nsISupports aFile); */
  415. NS_IMETHODIMP nsWebBrowserPersist::SaveURI(nsIURI *aURI, nsISupports *aCacheKey, nsIURI *aReferrer, nsIInputStream *aPostData, const char *aExtraHeaders, nsISupports *aFile)
  416. {
  417.     return NS_ERROR_NOT_IMPLEMENTED;
  418. }
  419.  
  420. /* void saveChannel (in nsIChannel aChannel, in nsISupports aFile); */
  421. NS_IMETHODIMP nsWebBrowserPersist::SaveChannel(nsIChannel *aChannel, nsISupports *aFile)
  422. {
  423.     return NS_ERROR_NOT_IMPLEMENTED;
  424. }
  425.  
  426. /* void saveDocument (in nsIDOMDocument aDocument, in nsISupports aFile, in nsISupports aDataPath, in string aOutputContentType, in unsigned long aEncodingFlags, in unsigned long aWrapColumn); */
  427. NS_IMETHODIMP nsWebBrowserPersist::SaveDocument(nsIDOMDocument *aDocument, nsISupports *aFile, nsISupports *aDataPath, const char *aOutputContentType, PRUint32 aEncodingFlags, PRUint32 aWrapColumn)
  428. {
  429.     return NS_ERROR_NOT_IMPLEMENTED;
  430. }
  431.  
  432. /* void cancelSave (); */
  433. NS_IMETHODIMP nsWebBrowserPersist::CancelSave()
  434. {
  435.     return NS_ERROR_NOT_IMPLEMENTED;
  436. }
  437.  
  438. /* End of implementation class template. */
  439. #endif
  440.  
  441.  
  442. #endif /* __gen_nsIWebBrowserPersist_h__ */
  443.